home *** CD-ROM | disk | FTP | other *** search
/ Macromedia Multimedia Showcase 6.0 / Macromedia Multimedia Showcase v6.0 WIN-MAC (XMSH60CD)(Macromedia, Inc.)(1996).iso / pc / demosoft / freehand / data.5 / App / Usenglsh / lang8.dll / POST / 1268 < prev    next >
Text File  |  1996-10-03  |  725b  |  37 lines

  1. /spotascmyk false def
  2. /setspotcolor{
  3. spots exch get
  4. dup 5 get
  5. dup type /booleantype ne    
  6. {2 index le} if                
  7. setinkoverprint
  8. 4 get dup sepname eq
  9. exch (_vc_Registration) eq or    
  10. {1 exch sub _setgray}        
  11. {pop 1 _setgray}            
  12. ifelse
  13. }bdf
  14. /maxspot {
  15. spots exch get dup        
  16. 4 get dup sepname ne exch (_vc_Registration) ne and        
  17. exch 5 get type /booleantype eq and                        
  18. { pop 0 } if            
  19. } bdf
  20. /setcustomcolor{
  21. exch 4 get sepname eq
  22. {1 exch sub _setgray}        
  23. {pop 1 _setgray}            
  24. ifelse
  25. }bdf
  26. /customcolorimage{
  27. dup 4 get dup sepname eq exch (_vc_Registration) eq or
  28. {pop _image}
  29. {
  30. getcustomoverprint
  31. {gsave nulldevice _image grestore}
  32. {inverted?{{pop 0}}{{pop 1}}ifelse st _image}
  33. ifelse
  34. }
  35. ifelse
  36. }bdf